package com.wyz.bpo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wyz.model.dto.PersonQueryDTO;
import com.wyz.model.query.PersonAddQuery;
import com.wyz.model.query.PersonDeleteQuery;
import com.wyz.model.query.PersonQuery;
import com.wyz.model.vo.Person;

import java.util.List;

/**
 * @author 无涯子
 * @version 1.0
 * @date 2023/5/14 16:00:49
 * @description
 */
public interface PersonManagerBPO {


    IPage<Person> queryPerson(PersonQuery personQuery);

    String updatePerson(PersonAddQuery personAddQuery);

    String deletePersonById(PersonDeleteQuery personDeleteQuery);

    String addPerson(PersonAddQuery personAddQuery);


    boolean updatePersonBatchById(List<PersonQueryDTO> personQueryDTOList);
}
